package com.dgj.log.dao;

import java.util.List;

import com.dgj.log.entities.Log;
import com.dgj.mongo.Pager;
import com.dgj.mongo.dao.IMongoDao;
import com.mongodb.DBObject;

/**
 * @author 崔海军 create at 2015年7月9日 下午4:15:20
 */
public interface ILogDao extends IMongoDao<Log> {

	public long count(String appName);

	public List<Log> listAllByPage(Pager pager, DBObject orderBy, String appName);

	public Log findOneByCnd(Object obj, String appName);

	public List<Log> findByPage(Object obj, Pager pager, DBObject orderBy, String appName);

	public long countByCnd(Object obj, String appName);

}
